package com.atguigu.gulimall.pay.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author nicc
 * @version 1.0
 * @className AlipayProperties
 * @date 2022-10-25 10:33
 */
@Data
@ConfigurationProperties(prefix = "app.alipay")
public class AlipayProperties {

    private String gatewayUrl; //支付网关
    private String appId; //应用id
    private String merchantPrivateKey;//商户私钥
    private String format; //数据格式化方式 "json"
    private String charset;//字符集
    private String alipayPublicKey; //支付宝公钥
    private String signType; //签名方式 RSA
    private String returnUrl; //同步跳转页，当浏览器支付成功以后要跳转的位置
    private String notifyUrl;//异步通知，支付宝支付成功以后要通知我们支付ok

}
